home *** CD-ROM | disk | FTP | other *** search
- <%
- on error resume next
- dim SecurityBox
- if (Session("Index") <> "Index") then
- Response.Redirect "index.asp"
- else
- set SecurityBox = Server.CreateObject("AdvFusionBox.FusionBox")
- end if
- %>
- <!--- #include file = "index.js" --->
- <html>
- <head>
- <title>ASPFusion Security Box Administration</title>
- </head>
- <body bgcolor="#CAE4FF">
- <form action="act_default.asp" Method="POST" NAME="defaultform">
- <div align="right">
- <table width="70%" align="left">
- <tr width="100%" align="right">
- <td><a href="javascript:submit(document.defaultform, document.defaultform.Logout, 'Logout')" onmouseover="window.status='Logout'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1">Logout</font></a></td>
- </tr>
- <tr width="100%" align="right">
- <td><a href="dsp_changepassword.asp" onmouseover="window.status='Change Password'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1">Change Password</font></a></td>
- </tr>
- <tr width="100%" align="right">
- <td><a href="dsp_registration.asp" onmouseover="window.status='Registration'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1">Registration</font></a></td>
- </tr>
- <tr width="100%" align="right">
- <td><a href="dsp_websitesecurity.asp" onmouseover="window.status='Web Site Security'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1">Web Site Security</font></a></td>
- </tr>
- <tr width="100%" align="right">
- <td><a href="dsp_welcome.asp" onmouseover="window.status='<< Back'; return true" onmouseout="window.status='';return true"><font color="#4D82D2" face="arial, helvetica, sans-serif" size="1"><< Back</font></a></td>
- </tr>
- </table>
- <table cellpadding="0" cellspacing="1" width="25%">
- <tr width="100%" align="right">
- <td><img src="Images/aspfusion.gif"></td>
- </tr>
- </table>
- </div>
- <br>
- <table cellpadding="0" width="100%">
- <input type="hidden" value="" name="Logout">
- <input type="hidden" value="" name="Set">
- <tr>
- <td><br>
- <%if Request.QueryString("result") = "0" then%>
- <p align="left"><font color="#FF0000" face="Arial" size="2"><b><%=Session("Error")%></b></p>
- <%else%>
- <p> </p>
- <%end if%>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <font face="Arial" size="2" color="#9D9D9D">Specify default settings for ASPFusion Security Box. Whenever
- a new ASPFusion Security Box is created, these settings will be automatically assigned to it.</font>
- </td>
- </tr>
- <tr>
- <td><br>
- <b><font face="Arial" size="3" color="#000080">Default Settings for ASPFusion Security Box</font></b>
- </td>
- </tr>
- <tr>
- <td><br>
- <input type="checkbox" name="SelectAll" value="ON" onclick="return selectall(document.defaultform, document.defaultform.Components);"><b><font face="Arial" size="3" color="#000080">Select All</font></b>
- </td>
- </tr>
- <tr>
- <td>
- <%set Result = SecurityBox.ReturnValues("Admin.ini", "Settings", "Installed")
- set Rst = SecurityBox.ReturnValues("Admin.ini", "Settings", "Default")%>
- <table width="100%" cellpadding="5" cellspacing="5">
- <%dim count
- dim number
- dim flag
- count = 0
- number = 0
- for each Member in Result
- flag = false
- number = number + 1
- if (count = 0) then%>
- <tr>
- <%end if
- count = count + 1%>
- <td valign="top"><b><font face="Arial" size="2"><%=number&"."%></font></b></td><td valign="top"><INPUT Name="Components" Type="checkbox" value="<%=member.value%>"
- <%for each mem in Rst%>
- <%if (member.value = mem.value) then%>
- <%flag = true%>
- checked
- <%end if
- next%>><font face="Arial" size="2"><%=member.value%></font>
- <p><SELECT NAME="<%=member.value%>" multiple size="3">
- <%set Result1 = SecurityBox.ReturnValues("Admin.ini", "AllMethods", member.value)%>
- <%set Rst1 = SecurityBox.ReturnValues("Admin.ini", "DefaultMethods", member.value)%>
- <%dim found
- found = false
- for each Member1 in Result1
- found = true%>
- <OPTION value="<%=Member1.value%>"
- <%for each mem1 in Rst1
- if (mem1.value = member1.value) and (flag) then%>
- selected
- <%end if
- next%>><%=Member1.value%></OPTION>
- <%next
- if (not found) then%>
- <option value="">[None Available]</option>
- <%end if%>
- </SELECT></p>
- </td>
- <%if (count = 4) then%>
- </tr>
- <%count = 0%>
- <%end if
- next
- if (number = 0) then%>
- <INPUT type="hidden" Name="Components">
- <%end if
- set Rst = nothing
- set Result = nothing
- set Rst1 = nothing
- set Result1 = nothing
- set SecurityBox = nothing%>
- </table>
- </td>
- </tr>
- </table>
- <br>
- <table cellpadding="0" cellspacing="1" width="25%">
- <tr width="100%" align="left">
- <td><a href="javascript:submit(document.defaultform, document.defaultform.Set, 'Set')" onmouseover="window.status='Set'; return true" onmouseout="window.status='';return true"><img src="Images/default.gif" border="0"></a></td>
- </tr>
- </table>
- <table align="center" width="100%">
- <tr>
- <td align="center" valign="bottom">
- <font face="Arial" color="black" size="1">Copyright ⌐ 2000, Advanced Communications</font>
- </td>
- </tr>
- </table>
- </form>
- </body>
- </html>
-